from tkinter import *



coords = [0,0,
          0,30,
          10,30,
          10,20,
          20,20,
          20,10,
          10,10,
          10,0]


root = Tk()
root.title("ИТ марафон")
root.geometry("500x500")
N=10
canvas = Canvas(bg="white", width=500, height=500)
canvas.pack(anchor=CENTER, expand=1)

canvas.create_polygon(coords[0] *N, coords[1] *N,
                      coords[2] *N, coords[3] *N,
                      coords[4] *N, coords[5] *N,
                      coords[6] *N, coords[7] *N,
                      coords[8] *N, coords[9] *N,
                      coords[10]*N, coords[11]*N,
                      coords[12]*N, coords[13]*N,
                      coords[14]*N, coords[15]*N
                     )

root.mainloop()